/**
 * Created by Dalyn on 2017/3/28.
 */
import Relay from "react-relay";

export default class AllGoodsPropertyMapper extends Relay.Mutation {

    static fragments = {};

    getMutation() {
        return Relay.QL`mutation { allGoodsPropertyMapper }`;
    }

    getVariables() {
        return {
            argsInput: {
            }
        };
    }

    getFatQuery() {
        return Relay.QL`fragment on allGoodsPropertyMapperPayload {
            responseData {  
                errorCode
                value
                id
                goodsPropertyMapper
            }
        }`;
    }

    getConfigs() {
        return [{
            type: 'REQUIRED_CHILDREN',
            children: [Relay.QL`
                fragment on allGoodsPropertyMapperPayload {
                    responseData {
                        errorCode
                        value
                        id
                        goodsPropertyMapper
                    }
                }
            `]
        }];
    }

}